
@if(!empty($article->episodes))
    <hr>
    <h3 class="text-center text-info lead">{{$article->episodes->count()}}个相关资源下载资源</h3>
    <ul>
        @foreach($article->episodes as $ep)
        <li><a href="{{route('episode.show',$ep)}}">{{str_limit($ep->raw_name,37)}}</a> </li>
        @endforeach
    </ul>
@endif

@if(!empty($article->related_articles))
        <h3 class="text-center text-info lead">{{$article->related_articles->count()-1}}个相关资讯文章</h3>
        <ul>
            @foreach($article->related_articles as $article)
                <li>
                    <a href="{{route('article.show',$article)}}" title="{{$article->title}}">{{str_limit($article->title,40)}}</a>
                </li>
            @endforeach
        </ul>

@endif